package com.code.hfd.command;

import com.code.hfd.command.bean.GarageDoor;

public class GarageDoorOpenCommand implements Commmand {
    private GarageDoor garageDoor;

    public GarageDoorOpenCommand(GarageDoor garageDoor) {
        this.garageDoor = garageDoor;
    }

    @Override
    public void execute() {
        garageDoor.open();
    }
}
